Skip to content

chore: release 0.2.1 - #34

Merged
bntvllnt merged 1 commit into
mainfrom
chore/release-0.2.1
Nov 30, 2026
Merged

bntvllnt merged 1 commit into
mainfrom
chore/release-0.2.1

Conversation

@bntvllnt

Copy link
Copy Markdown
Collaborator

Version

@vllnt/analytics 0.2.1 (from 0.2.0).

Why a patch

Both changes since v0.2.0 are bug fixes: updateConsent keeps an analytics opt-out when several consent updates run in one handler (#32), and the internal privacy check behaves the same on macOS and Linux (#33). No API change.

Changelog section (verbatim)

[0.2.1] - 2026-11-30

Changed

  • Internal only: privacy check gives the same result on macOS as on Linux (unsupported pattern
    forms are refused instead of silently missing); scripts run on macOS bash 3.2; CI fails red on
    an invalid private-pattern secret line.

Fixed

  • updateConsent from useAnalytics and useConsent builds on the latest consent, so several calls
    in one event handler keep each other's changes. Before, a later call reset the earlier ones, and a
    settings form that turned analytics off and then saved the other categories stored
    analytics: true again, so the next visit was tracked.

Changelog fix in this PR: the privacy-check line moved from Fixed to Changed as an "Internal only:" note, where 0.2.0 keeps tooling notes.

After merge (maintainer)

Push the tag v0.2.1 on the merge commit on main; publish.yml then publishes @latest and creates the GitHub release from this section.

Checks run (macOS)

  • CI steps: pnpm install --frozen-lockfile, lint, typecheck:ci, test:coverage (222 passed, coverage gate met), scripts/test-check-package-contents.sh, build, test:package.
  • Privacy Guard steps: test-privacy-denylist.sh, test-check-commit-emails.sh, privacy-denylist.sh (no matches), check-package-contents.sh (clean), gitleaks (no leaks), check-commit-emails.sh --range origin/main..HEAD (no findings).
  • Release guard: the Verify release tag step of publish.yml run locally with TAG=v0.2.1 (minus the on-main check, which needs the merged commit): stable semver, matches the tag, ## [0.2.1] entry found, release notes extracted.

@bntvllnt
bntvllnt merged commit 7405227 into main Nov 30, 2026
10 checks passed
@bntvllnt
bntvllnt deleted the chore/release-0.2.1 branch November 30, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant